<template>
	<view class="container">
		<image :src="baseUrl+data.imgUrl" style="width: 100%;" @click="pre" mode=""></image>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				data: {}
			};
		},
		onLoad(item) {
			this.get('/prod-api/api/metro/city', {

			}, ).then(res => {
				let data = res.data
				this.data = data
				this.pre()
			})
		},
		onReady() {

		},
		onShow() {

		},
		methods: {
			pre() {
				uni.previewImage({
					count: 1,
					urls: [this.baseUrl + this.data.imgUrl]
				})
			}
		}
	};
</script>

<style lang="scss">

</style>
